<style>
.bft1-template {
    padding: 30px 50px;
    color: #000;
}
.bft1-title {
    font-size: 48px;
    font-weight: 600;
    color: #000;
    text-align: center;
    padding: 30px 0;
}
.bft1-table-list .bft1-td{
    background-color: #e9e9e9;
}
.bft1-table-list:nth-child(2n) .bft1-td{
    background-color: #f7f7f7;
}
.bft1-table-list {
    display: flex;
    text-align: center;
}
.bft1-td {
    display: flex;
    border: 1px solid #ccc;
    margin-top: -1px;
    margin-left: -1px;
    justify-content: center;
    align-items: center;
    flex-flow: wrap;
    height: 80px;
    font-size: 24px;
    padding: 0 40px;
    text-align: left;
    justify-content: left;
    font-family: sans-serif;
    font-weight: 400;
}
.bft1-td:nth-child(4) {
    width: 34%;
}
.bft1-td:nth-child(3) {
    width: 20%;
}
.bft1-td:nth-child(2) {
    width: 20%;
}
.bft1-td:nth-child(1) {
    width: 26%;
}
.bft1-table-list .bft1-td:nth-child(1) {
    font-weight: 900;
}
.bft1-table-list .bft1-td:nth-child(1) {
    line-height: 1.3;
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
}
.bft1-table-list .bft1-td:nth-child(1) .bft1-description1-sub {
    font-weight: 100;
    color: #666;
}
.bft1-table-list .bft1-td:nth-child(4) {
    line-height: 1.1;
}
.bft1-td p {
    margin: 0;
}
.bft1-table-list .bft1-td:nth-child(4) a{
  color: #06a3ea;
}
@media(max-width:1440px){
  .bft1-td{font-size: 18px;}
}
@media(max-width:1000px){
.bft1-template {
    padding: 20px 10px; 
}
.bft1-title {
    font-size: 30px;
    padding: 20px 0;
}
.bft1-td {
    height: auto;
    font-size: 12px;
    min-height: 45px;
    padding: 5px 5px;
    line-height: 1;
}
  
}
</style>
<div class="bft1-template">
    <div class="bft1-main">
        <div class="bft1-title">{{section.settings.title }}</div>
        <div class="bft1-table">
            <div class="bft1-table-list">
                <div class="bft1-td">{{section.settings.th1}}</div>
                <div class="bft1-td">{{section.settings.th2}}</div>
                <div class="bft1-td">{{section.settings.th3}}</div>
                <div class="bft1-td">{{section.settings.th4}}</div>
            </div>
            {% for block in section.blocks %}
            <div class="bft1-table-list">
                <div class="bft1-td">
                  <div class="bft1-description1">{{block.settings.description1}}</div>
                  <div class="bft1-description1-sub">{{block.settings.description11}}</div>
                </div>
                <div class="bft1-td">{{block.settings.description2}}</div>
                <div class="bft1-td">{{block.settings.description3}}</div>
                <div class="bft1-td">{{block.settings.description4}}</div>
            </div>
            {% endfor %}
        </div>
    </div>
</div>
{% schema %}
{
  "name": "Table1",
  "class": "bf-table1",
  "settings": [
    {
      "type": "textarea",
      "id": "title",
      "label":"模块标题"
    },
    {
      "type": "textarea",
      "id": "th1",
      "label": "表格标题1"
    },
    {
      "type": "textarea",
      "id": "th2",
      "label": "表格标题2"
    },
    {
      "type": "textarea",
      "id": "th3",
      "label": "表格标题3"
    },
    {
      "type": "textarea",
      "id": "th4",
      "label": "表格标题4"
    }
  ],
  "blocks":[
    {
      "type": "table",
      "name": "table",
      "settings": [
        {
          "type": "text",
          "id": "description1",
          "label": "描述1 标题"
        },
        {
          "type": "text",
          "id": "description11",
          "label": "描述1 下标题"
        },
        {
          "type": "textarea",
          "id": "description2",
          "label": "描述2"
        },
        {
          "type": "textarea",
          "id": "description3",
          "label": "描述3"
        },
        {
          "type": "richtext",
          "id": "description4",
          "label": "描述4"
        }
      ]
    }
  ],
  "presets": [
    {
      "name": "Table1",
      "category": "Table1"
    }
  ]
}
{% endschema %}